// ==UserScript== // @name TechGrow/OpenWrite ByPass // @namespace https://bbs.tampermonkey.net.cn/ // @version 0.1.1 // @description try to take over the world! // @author You // @include * // @run-at document-start // @grant unsafeWindow // ==/UserScript== Object.defineProperty(unsafeWindow, 'ReadmorePlugin', { value: { init: () => { } }, writable: false, }) Object.defineProperty(unsafeWindow, 'BTWPlugin', { value: { init: () => { } }, writable: false, }) // openwrite back method // const getItem = localStorage.getItem // localStorage.getItem = function (...args) { // if (args[0]?.indexOf('TOKEN_') !== -1) { // debugger // localStorage.setItem(args[0], args[0].replace('TOKEN_', "")) // localStorage.getItem = getItem // } // return getItem.call(this, ...args) // }